widget/gonk/nativewindow/GonkNativeWindow.h

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 /* Copyright 2013 Mozilla Foundation and Mozilla contributors
     2  *
     3  * Licensed under the Apache License, Version 2.0 (the "License");
     4  * you may not use this file except in compliance with the License.
     5  * You may obtain a copy of the License at
     6  *
     7  *     http://www.apache.org/licenses/LICENSE-2.0
     8  *
     9  * Unless required by applicable law or agreed to in writing, software
    10  * distributed under the License is distributed on an "AS IS" BASIS,
    11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  * See the License for the specific language governing permissions and
    13  * limitations under the License.
    14  */
    16 #if defined(MOZ_WIDGET_GONK) && ANDROID_VERSION >= 19
    17 # include "GonkNativeWindowKK.h"
    18 #elif defined(MOZ_WIDGET_GONK) && ANDROID_VERSION >= 17
    19 # include "GonkNativeWindowJB.h"
    20 #elif defined(MOZ_WIDGET_GONK) && ANDROID_VERSION == 15
    21 # include "GonkNativeWindowICS.h"
    22 #endif

mercurial